package top.infopub.mgr.la.dao;

import top.infopub.generic.GenericDao;
import top.infopub.mgr.la.domain.OutLawyerDomain;
import top.infopub.mgr.la.vo.OutLawyerVo;
import top.infopub.model.la.OutLawyer;

import com.github.pagehelper.Page;

/** 外聘律师(LA_OUT_LAWYER) **/
public interface OutLawyerDao extends GenericDao<OutLawyer, String> {

    /**
     * 根据条件查询分页记录
     * @param outLawyerVo
     * @return 
     * @see
     */
    Page<OutLawyerDomain> selectByDomainWhere(OutLawyerVo outLawyerVo);

    /**
     * 根据条件查询-我审批的分页记录
     * @param outLawyerVo
     * @return 
     * @see
     */
    Page<OutLawyerDomain> selectMyCheckByDomainWhere(OutLawyerVo outLawyerVo);

    /**
     * 新增记录（自带id）
     * @param outLawyer 
     * @see
     */
    void insertById(OutLawyerVo outLawyer);

    /**
     * 根据id查询记录详情
     * @param id 主键id
     * @return 
     * @see
     */
    OutLawyerVo selectById(String id);
	
}